//
//  XSVideoWaterPrintView.h
//  AudioVideo
//
//  Created by xueshan1 on 2019/9/4.
//  Copyright © 2019 xueshan1. All rights reserved.
//

#import <UIKit/UIKit.h>

#define WaterLabFont 20

@class XSVideoWaterPrintView;
@protocol XSVideoWaterPrintViewDelegate <NSObject>

- (void)tapWaterPrintView:(XSVideoWaterPrintView *_Nullable)waterView;

@end

typedef NS_ENUM(NSUInteger, VideoWaterPrintType) {
    VideoWaterPrintType_Text,
    VideoWaterPrintType_Image
};

NS_ASSUME_NONNULL_BEGIN

/**
  水印view
 */
@interface XSVideoWaterPrintView : UIView

@property(nonatomic,weak)id waterDelegate;

//文字水印
@property(nonatomic,copy)NSString *text;
@property(nonatomic,strong)UIColor *textColor;
@property(nonatomic,strong)UILabel *contentLab;
@property(nonatomic,assign,getter=isHighlight)BOOL hightlight;

//图片水印
@property(nonatomic,strong)UIImage *waterImage;

- (instancetype)initWithFrame:(CGRect)frame waterType:(VideoWaterPrintType)type;

@end

NS_ASSUME_NONNULL_END
